export const getPendingAttendance = (data) => uni.$uv.http.get('/api/test/getPendingAttendance', data)
export const getStatus = (data) => uni.$uv.http.get('/api/attendace/getStatus', {params:data})
export const getWeekAttends = (data) => uni.$uv.http.get('/api/attendace/getWeekAttends', {params:data})
export const handleClock = (data) => uni.$uv.http.get('/api/attendace/clock', {params:data})
export const getAttendanceRule = (data) => uni.$uv.http.get('/api/attendace/getAttendanceRule', {params:data})
export const getErrorAttendance = (data) => uni.$uv.http.get('/api/attendace/getErrorAttendance', {params:data})
export const getAttendanceLogDetail = (data) => uni.$uv.http.get('/api/attendace/getAttendanceLogDetail', {params:data})
export const replacementList = (data) => uni.$uv.http.get('/api/attendace/replacementList', {params:data})
export const replacementClock = (data) => {
    return uni.$uv.http.post(data.id?'/api/replacement/updateLeaveApply':'/api/attendace/replacementClock', data)
}
export const getMonthAttendStatus = (data) => uni.$uv.http.get('/api/attendace/getMonthAttendStatus', {params:data})
export const attendaceOli = (data) => uni.$uv.http.post('/api/attendace/oli', data)

